package com.miyake.loveviewweb.client;

import com.google.appengine.api.datastore.Key;
import com.miyake.loveviewweb.shared.model.ChartModel;
import com.miyake.loveviewweb.shared.model.DataModel;
import com.miyake.loveviewweb.shared.model.FolderModel;

public interface DataServiceListener {
    void onCreateRootFolder(FolderModel folder);
    void onCreateFolder(FolderModel folder, FolderModel parent);
    void onCreateData(DataModel data, FolderModel parent);
    void onCreateChart(ChartModel chart, DataModel parent);
    void onDelete(Key key);
    void onSelectChange(Object object, FolderModel folder);
    void onUpdateData(Key data);
    void onUpdatFolder(Key key);
}